package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.DeviceCond;
import com.k2data.k2app.domain.po.DeviceOverview;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lidong9144@163.com 17-3-15.
 */
@Mapper
@Repository
public interface DeviceOverviewMapper extends K2Mapper<DeviceOverview> {

    List<DeviceOverview> selectOverview(DeviceCond cond);

    DeviceOverview selectChannel(long deviceId,long key_id);
}
